package ini

import (
	"flag"

	"github.com/xiaoqinghong/super_daemon/config"
)

func init() {
	var configFile string
	flag.StringVar(&configFile, "c", "", "config file path")
	flag.Parse()
	if configFile == "" {
		configFile = "config.d/config.yaml"
	}
	config.Init(configFile)
}
